package com.google.test;

import java.util.Scanner;

/**
 * @author Mucd
 * @Date 2020/12/4/004
 * @ClassName MaxNumber
 */
public class MaxNumber {
    public static void main(){
        Scanner sc = new Scanner(System.in);
        System.out.println("1ge");
        int scInt01 = sc.nextInt();
        System.out.println("2ge");
        int scInt02 = sc.nextInt();
        System.out.println("3ge");
        int scInt03 = sc.nextInt();
        System.out.println("4ge");
        int scInt04 = sc.nextInt();
        //存放第一个最大值
        int max1;
        //存放第二个最大值
        int max2;

        //将最大值赋给 max1
        max1 = Math.max(scInt01, scInt02);
        max2 = Math.max(scInt03,scInt04);
        System.out.println(Math.max(max1,max2));

    }

    public static void main(String[] args) {
        main();
        System.out.println("+++++++++++++");
        System.out.println(Math.max(12321,232323));
    }

}
